package com.turing.post.cardmanagement.util;

import java.math.BigInteger;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;
import com.turing.post.util.PCPSWebInput;

/**
 * 卡库存管理主要业务逻辑实现
 * 
 * @author YangShuo
 * 
 */

@Remote
@Local
public interface CardStockBusiness {

	/**
	 * 卡片入库
	 * 
	 * @param InitialInStockOrder
	 *            对象
	 * @return 入库单ID
	 */
	public BigInteger putInCardStock(PCPSWebInput input,InitialInStockOrder InitialInStockOrder)
			throws PCPSApplicationException;

	/**
	 * 卡入库审核
	 * 
	 * @param iiso
	 * @throws PCPSApplicationException
	 */
	public void putInCardStockAuth(PCPSWebInput input,InitialInStockOrder iiso)
			throws PCPSApplicationException;

	/**
	 * 卡片入库取消
	 * 
	 * @param InitialInStockOrderId
	 *            入库单ID
	 * @param operno
	 *            操作员
	 * 
	 */

	public void putInCancleCardStock(PCPSWebInput input,InitialInStockOrder _iiso,
			BigInteger operno) throws PCPSApplicationException;

	/**
	 * 入库撤销审核
	 * @param _iiso
	 * @param operno
	 * @throws PCPSApplicationException
	 */
	public void putInCancleCardStockAuth(PCPSWebInput input,InitialInStockOrder _iiso,
			BigInteger operno) throws PCPSApplicationException;

}
